package com.leroy.electricmeter.entity;

import java.util.Date;

public class Order {
    private int id;
    private Date time;
    private String amount;
    private String patment;
    private String userId;
    private int elecId;
    private String status;

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", time=" + time +
                ", amount='" + amount + '\'' +
                ", patment='" + patment + '\'' +
                ", userId='" + userId + '\'' +
                ", elecId=" + elecId +
                ", status='" + status + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getPatment() {
        return patment;
    }

    public void setPatment(String patment) {
        this.patment = patment;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getElecId() {
        return elecId;
    }

    public void setElecId(int elecId) {
        this.elecId = elecId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
